package com.triptogether.utils.db.models;

import java.util.Date;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = Trip.TABLE_NAME)
public class Trip {

	public static final String TABLE_NAME = "Trips";

	@DatabaseField(generatedId = true)
	private long id;
	@DatabaseField
	private String tripName;
	@DatabaseField
	private Date dateCreated;
	@DatabaseField
	private Date tripDate;

	public Trip() {}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTripName() {
		return tripName;
	}

	public void setTripName(String tripName) {
		this.tripName = tripName;
	}

	public Date getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}

	public Date getTripDate() {
		return tripDate;
	}

	public void setTripDate(Date tripDate) {
		this.tripDate = tripDate;
	}

}
